/**
 * @author bipul_sinha
 * @version 1.0
 * @created 10th November, 2010.
 *
 * ITenantable
 *
 * Copyright @ 2010 by 
 * All Rights Reserved.
 * CONFIDENTIAL AND TRADE SECRET
 */
package com.ces.knacky.framework.model;

import com.ces.knacky.model.Company;

/**
 * It provides contract to mark all those object/entities which belong to a certain merchant. All 
 * those entities whose needs to be merchant specific needs to inherit this interface. 
 *   
 * @author bipul_sinha
 *
 */
public interface ITenantable {
	/**
	 * It provides a contract to mark the object with respective merchant/tenant.
	 * 
	 * @param 	company
	 * 			Represents merchant/tenant to whom this record belongs to.
	 */
    public void setCompany (Company company);
    
    /**
     * It provides a contract to return the owner details of the entity. 
     * 
     * @return	Company 
     * 			Represents owner details of the entity. 
     */
    public Company getCompany ();

}

